<template>
  <my-simple-page
    :table-title="tableTitle"
    :search-fields="searchFields"
    :columns="columns"
    :search-url="searchUrl"
    :action="false">
  </my-simple-page>
</template>

<script>
  export default {
    name: "log-index",
    data(){
      return{
        searchFields: [
          {
            type: 'input',
            label: '访问人',
            prop: 'user'
          }
        ],
        tableTitle: '日志列表',
        columns: [
          {label:'访问接口',prop: 'url'},
          {label:'访问人',prop: 'user'},
          {label:'时间',prop: 'createTime'}],
        searchUrl: '/api/sys-config/log/getLogList'
      }
    }
  }
</script>

<style scoped>

</style>
